package com.electric.electric.serviceimpl;


import com.electric.electric.POJO.VO.admin.SysUserVO;
import com.electric.electric.mapper.admin.SysUserMapper;
import com.electric.electric.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysUserServiceImpl implements SysUserService {

    @Autowired
    private SysUserMapper sysUserMapper;


    // 根据用户ID获取用户信息
    public SysUserVO getUserInfo(Integer id) {
        return sysUserMapper.getUserInfo(id);
    }
}
